/**
 * 车辆管理API
 */
import Vehicle from '@/api/office/vehicle'
import { unionApiUrl } from '@/api/config.js'
const SUB_SYSTEM = unionApiUrl
const carApplication = new Vehicle({ subSys: SUB_SYSTEM, module: '/carApplication', suffix: 'CarApplication' }) // 用车申请
const carApplicationRecord = new Vehicle({ subSys: SUB_SYSTEM, module: '/carApplicationRecord', suffix: 'CarApplicationRecord' }) // 用车记录
const carDriverInfo = new Vehicle({ subSys: SUB_SYSTEM, module: '/carDriverInfo', suffix: 'CarDriverInfo' }) // 驾驶员管理
const carInfo = new Vehicle({ subSys: SUB_SYSTEM, module: '/carInfo', suffix: 'CarInfo', summaryName: 'Car' }) // 车辆台账
const carDispatchRecord = new Vehicle({ subSys: SUB_SYSTEM, module: '/carDispatchRecord', suffix: 'CarDispatchRecord' }) // 车辆调度记录
const carUsePersonScore = new Vehicle({ subSys: SUB_SYSTEM, module: '/carUsePersonScore', suffix: 'CarUsePersonScore' }) // 用车人评价
const carDriverAssess = new Vehicle({ subSys: SUB_SYSTEM, module: '/carDriverAssess', suffix: 'CarDriverAssess' }) // 用车人评价
const carMaintenanceApplication = new Vehicle({ subSys: SUB_SYSTEM, module: '/carMaintenanceApplication', suffix: 'CarMaintenanceApplication' }) // 车辆维保
const carGasCard = new Vehicle({ subSys: SUB_SYSTEM, module: '/carGasCard', suffix: 'CarGasCard', summaryName: 'Charge' }) // 加油卡
const carMonthCost = new Vehicle({ subSys: SUB_SYSTEM, module: '/carMonthCost', suffix: 'CarMonthCost', summaryName: 'Total' }) // 车辆月度费用台账管理

export {
  carApplication,
  carApplicationRecord,
  carDriverInfo,
  carInfo,
  carDispatchRecord,
  carUsePersonScore,
  carDriverAssess,
  carMaintenanceApplication,
  carGasCard,
  carMonthCost
}